package com.btex.app.entity;

import java.util.List;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/5/22
 * @time 下午3:32
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class MyMarketInfo {

    /**
     * code : 1
     * data : [{"id":"7","collect_id":"19","type":"TC","danwei":"BTC","price_float_num":"8","amount_float_num":"8","ticker":{"min_24h_price":"0.00001416","min_24h_time":"1526917544","max_24h_price":"0.00001498","max_24h_time":"1526958519","trade_price":"0.00001448","price_24h":"0.000014238000","change_24h":"0.0170","amount":"18034843.19640000","total":"259.49530823"}}]
     * info :
     */

    private int code;
    private String info;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 7
         * collect_id : 19
         * type : TC
         * danwei : BTC
         * price_float_num : 8
         * amount_float_num : 8
         * ticker : {"min_24h_price":"0.00001416","min_24h_time":"1526917544","max_24h_price":"0.00001498","max_24h_time":"1526958519","trade_price":"0.00001448","price_24h":"0.000014238000","change_24h":"0.0170","amount":"18034843.19640000","total":"259.49530823"}
         */

        private String id;
        private String collect_id;
        private String type;
        private String danwei;
        private String price_float_num;
        private String amount_float_num;
        private TickerBean ticker;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCollect_id() {
            return collect_id;
        }

        public void setCollect_id(String collect_id) {
            this.collect_id = collect_id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDanwei() {
            return danwei;
        }

        public void setDanwei(String danwei) {
            this.danwei = danwei;
        }

        public String getPrice_float_num() {
            return price_float_num;
        }

        public void setPrice_float_num(String price_float_num) {
            this.price_float_num = price_float_num;
        }

        public String getAmount_float_num() {
            return amount_float_num;
        }

        public void setAmount_float_num(String amount_float_num) {
            this.amount_float_num = amount_float_num;
        }

        public TickerBean getTicker() {
            return ticker;
        }

        public void setTicker(TickerBean ticker) {
            this.ticker = ticker;
        }

        public static class TickerBean {
            /**
             * min_24h_price : 0.00001416
             * min_24h_time : 1526917544
             * max_24h_price : 0.00001498
             * max_24h_time : 1526958519
             * trade_price : 0.00001448
             * price_24h : 0.000014238000
             * change_24h : 0.0170
             * amount : 18034843.19640000
             * total : 259.49530823
             */

            private String min_24h_price;
            private String min_24h_time;
            private String max_24h_price;
            private String max_24h_time;
            private String trade_price;
            private String price_24h;
            private String change_24h;
            private String amount;
            private String total;
            private String rate_price_c;
            private String rate_price_u;
            public String getRate_price_c() {
                return rate_price_c;
            }

            public void setRate_price_c(String rate_price_c) {
                this.rate_price_c = rate_price_c;
            }

            public String getRate_price_u() {
                return rate_price_u;
            }

            public void setRate_price_u(String rate_price_u) {
                this.rate_price_u = rate_price_u;
            }



            public String getMin_24h_price() {
                return min_24h_price;
            }

            public void setMin_24h_price(String min_24h_price) {
                this.min_24h_price = min_24h_price;
            }

            public String getMin_24h_time() {
                return min_24h_time;
            }

            public void setMin_24h_time(String min_24h_time) {
                this.min_24h_time = min_24h_time;
            }

            public String getMax_24h_price() {
                return max_24h_price;
            }

            public void setMax_24h_price(String max_24h_price) {
                this.max_24h_price = max_24h_price;
            }

            public String getMax_24h_time() {
                return max_24h_time;
            }

            public void setMax_24h_time(String max_24h_time) {
                this.max_24h_time = max_24h_time;
            }

            public String getTrade_price() {
                return trade_price;
            }

            public void setTrade_price(String trade_price) {
                this.trade_price = trade_price;
            }

            public String getPrice_24h() {
                return price_24h;
            }

            public void setPrice_24h(String price_24h) {
                this.price_24h = price_24h;
            }

            public String getChange_24h() {
                return change_24h;
            }

            public void setChange_24h(String change_24h) {
                this.change_24h = change_24h;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }
        }
    }
}
